<%
layout("/common/layout.html",{"title":"事项资料列表"}){
%>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-sm-8">
        <h2>事项资料列表</h2>
        <ol class="breadcrumb">
            <li><a href="${ctxPath}/admin/main">主页</a></li>
            <li><a href="${ctxPath}/itemInfo/view/index">办件事项管理</a></li>
            <li><a href="${ctxPath}/windowOfficesItem/view/149">${item.title!}</a></li>
            <li class="active">事项资料列表</li>
        </ol>
    </div>
    <div class="col-sm-4">
        <div class="title-action ">
           <div class="btn-group">
               <a href="${ctxPath}/windowOfficesItem/view/index" class="btn btn-primary btn-outline"><i class="fa fa-reply"></i>&ensp;返回列表</a>
               <a href="${ctxPath}/windowOfficesItem/view/${item.id!}" class="btn btn-primary btn-outline"><i class="fa fa-info"></i>&ensp;事项详情</a>
           </div>
        </div>
    </div>
</div>


<div class="wrapper wrapper-content">
    <div class="ibox float-e-margins animated fadeIn">
        <div class="ibox-content">
            <table class="table table-hover" id="dataList" data-files-domain="${uploaderFilesDomain!}" data-items-id="${item.id!}"></table>
            <div class="toolBar" style="margin:0 -15px;">
                <div class="col-sm-8">
                    <div class="btn-group">
                        <a class="btn btn-primary btn-outline toolbar-save"><i class="fa fa-plus-square"></i> 添加资料</a>
                        <a class="btn btn-primary btn-outline toolbar-refresh"><i class="fa fa-refresh"></i> 刷新列表</a>
                    </div>
                </div>
            </div>
        </div>


        <div class="ibox-footer">
            <div class="col-sm-offset-4 clearfix">
                <div class="block col-sm-2">
                    <a href="${ctxPath}/windowOfficesItem/view/index" class="btn btn-white btn-block"><i class="fa fa-reply"></i>&ensp;返回列表</a>
                </div>
                <div class="block col-sm-2">
                    <a href="${ctxPath}/windowOfficesItem/view/${item.id!}" class="btn btn-primary btn-block"><i class="fa fa-info"></i>&ensp;事项详情</a>
                </div>
            </div>
        </div>

    </div>
</div>



<% } %>
<script type="text/javascript">
    //页面JS调用
    require(['windowOffices/item'], function (item) {
        item.files();
    });
   
</script>